package com.example.knowledgeget1.ChatCommon.Entity;



import jakarta.persistence.Id;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;


@Entity
@Data
@Table(name = "NodeTypes")
public class NodeType {


    @Id
    @Column(name = "id", nullable = false)
    private Long id; // 知识点编号

    @Column(name = "name", nullable = false)
    private String name; // 知识点名称

    @Column(name = "hasPreNode")
    private Boolean hasPreNode; // 是否拥有前置知识点

    @Column(name = "isMain")
    private Boolean isMain; // 是否是大类知识点

    @Column(name = "isBranch")
    private Boolean isBranch; // 是否是分支知识点

    @Column(name = "isBuild")
    private Boolean isBuild; // 是否已经被构建

    @Column(name = "isRelease")
    private Boolean isRelease;
}
